The code uses G_TYPE_POINTER and I got all sorts of scared.
#include "gtkfilesystemmodel.h"
#include "gtkliststore.h"
#include "gtkrecentmanager.h"
-#include "gtksearchengine.h"
+#include "gtksearchengineprivate.h"
#include "gtkquery.h"
#include "gtksizegroup.h"
#include "gtktreemodelsort.h"
*/
#include "config.h"
-#include "gtksearchengine.h"
-#include "gtksearchenginemodel.h"
-#include "gtksearchenginequartz.h"
+#include "gtksearchengineprivate.h"
+#include "gtksearchenginemodelprivate.h"
+#include "gtksearchenginequartzprivate.h"
#include "gtkintl.h"
#include <gdk/gdk.h> /* for GDK_WINDOWING_MACOS */
#if defined(HAVE_TRACKER3)
-#include "gtksearchenginetracker3.h"
+#include "gtksearchenginetracker3private.h"
#endif
struct _GtkSearchEnginePrivate {
+++ /dev/null
-/*
- * Copyright (C) 2005 Novell, Inc.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- *
- * Author: Anders Carlsson <andersca@imendio.com>
- *
- * Based on nautilus-search-engine.h
- */
-
-#ifndef __GTK_SEARCH_ENGINE_H__
-#define __GTK_SEARCH_ENGINE_H__
-
-#include "gtkquery.h"
-#include "gtkfilesystemmodel.h"
-#include <gio/gio.h>
-
-G_BEGIN_DECLS
-
-#define GTK_TYPE_SEARCH_ENGINE (_gtk_search_engine_get_type ())
-#define GTK_SEARCH_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENGINE, GtkSearchEngine))
-#define GTK_SEARCH_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEARCH_ENGINE, GtkSearchEngineClass))
-#define GTK_IS_SEARCH_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENGINE))
-#define GTK_IS_SEARCH_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEARCH_ENGINE))
-#define GTK_SEARCH_ENGINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEARCH_ENGINE, GtkSearchEngineClass))
-
-typedef struct _GtkSearchEngine GtkSearchEngine;
-typedef struct _GtkSearchEngineClass GtkSearchEngineClass;
-typedef struct _GtkSearchEnginePrivate GtkSearchEnginePrivate;
-typedef struct _GtkSearchHit GtkSearchHit;
-
-G_DEFINE_AUTOPTR_CLEANUP_FUNC (GtkSearchEngine, g_object_unref)
-
-struct _GtkSearchHit
-{
- GFile *file;
- GFileInfo *info; /* may be NULL */
-};
-
-struct _GtkSearchEngine
-{
- GObject parent;
-
- GtkSearchEnginePrivate *priv;
-};
-
-struct _GtkSearchEngineClass
-{
- GObjectClass parent_class;
-
- /* VTable */
- void (*set_query) (GtkSearchEngine *engine,
- GtkQuery *query);
- void (*start) (GtkSearchEngine *engine);
- void (*stop) (GtkSearchEngine *engine);
-
- /* Signals */
- void (*hits_added) (GtkSearchEngine *engine,
- GList *hits);
- void (*finished) (GtkSearchEngine *engine);
- void (*error) (GtkSearchEngine *engine,
- const char *error_message);
-};
-
-GType _gtk_search_engine_get_type (void);
-
-GtkSearchEngine* _gtk_search_engine_new (void);
-
-void _gtk_search_engine_set_query (GtkSearchEngine *engine,
- GtkQuery *query);
-void _gtk_search_engine_start (GtkSearchEngine *engine);
-void _gtk_search_engine_stop (GtkSearchEngine *engine);
-
-void _gtk_search_engine_hits_added (GtkSearchEngine *engine,
- GList *hits);
-void _gtk_search_engine_finished (GtkSearchEngine *engine,
- gboolean got_results);
-void _gtk_search_engine_error (GtkSearchEngine *engine,
- const char *error_message);
-
-void _gtk_search_hit_free (GtkSearchHit *hit);
-GtkSearchHit *_gtk_search_hit_dup (GtkSearchHit *hit);
-
-void _gtk_search_engine_set_model (GtkSearchEngine *engine,
- GtkFileSystemModel *model);
-
-G_END_DECLS
-
-#endif /* __GTK_SEARCH_ENGINE_H__ */
#include <gdk/gdk.h>
-#include "gtksearchenginemodel.h"
+#include "gtksearchenginemodelprivate.h"
#include "gtkprivate.h"
#include <string.h>
+++ /dev/null
-/*
- * Copyright (C) 2015 Red Hat, Inc
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- *
- * Author: Matthias Clasen
- */
-
-#ifndef __GTK_SEARCH_ENGINE_MODEL_H__
-#define __GTK_SEARCH_ENGINE_MODEL_H__
-
-#include "gtksearchengine.h"
-#include "gtkfilesystemmodel.h"
-
-G_BEGIN_DECLS
-
-#define GTK_TYPE_SEARCH_ENGINE_MODEL (_gtk_search_engine_model_get_type ())
-#define GTK_SEARCH_ENGINE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENGINE_MODEL, GtkSearchEngineModel))
-#define GTK_SEARCH_ENGINE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEARCH_ENGINE_MODEL, GtkSearchEngineModelClass))
-#define GTK_IS_SEARCH_ENGINE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENGINE_MODEL))
-#define GTK_IS_SEARCH_ENGINE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEARCH_ENGINE_MODEL))
-#define GTK_SEARCH_ENGINE_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEARCH_ENGINE_MODEL, GtkSearchEngineModelClass))
-
-typedef struct _GtkSearchEngineModel GtkSearchEngineModel;
-typedef struct _GtkSearchEngineModelClass GtkSearchEngineModelClass;
-
-GType _gtk_search_engine_model_get_type (void);
-
-GtkSearchEngine *_gtk_search_engine_model_new (GtkFileSystemModel *model);
-
-G_END_DECLS
-
-#endif /* __GTK_SEARCH_ENGINE_MODEL_H__ */
--- /dev/null
+/*
+ * Copyright (C) 2015 Red Hat, Inc
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Author: Matthias Clasen
+ */
+
+#ifndef __GTK_SEARCH_ENGINE_MODEL_H__
+#define __GTK_SEARCH_ENGINE_MODEL_H__
+
+#include "gtksearchengineprivate.h"
+#include "gtkfilesystemmodel.h"
+
+G_BEGIN_DECLS
+
+#define GTK_TYPE_SEARCH_ENGINE_MODEL (_gtk_search_engine_model_get_type ())
+#define GTK_SEARCH_ENGINE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENGINE_MODEL, GtkSearchEngineModel))
+#define GTK_SEARCH_ENGINE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEARCH_ENGINE_MODEL, GtkSearchEngineModelClass))
+#define GTK_IS_SEARCH_ENGINE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENGINE_MODEL))
+#define GTK_IS_SEARCH_ENGINE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEARCH_ENGINE_MODEL))
+#define GTK_SEARCH_ENGINE_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEARCH_ENGINE_MODEL, GtkSearchEngineModelClass))
+
+typedef struct _GtkSearchEngineModel GtkSearchEngineModel;
+typedef struct _GtkSearchEngineModelClass GtkSearchEngineModelClass;
+
+GType _gtk_search_engine_model_get_type (void);
+
+GtkSearchEngine *_gtk_search_engine_model_new (GtkFileSystemModel *model);
+
+G_END_DECLS
+
+#endif /* __GTK_SEARCH_ENGINE_MODEL_H__ */
--- /dev/null
+/*
+ * Copyright (C) 2005 Novell, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Author: Anders Carlsson <andersca@imendio.com>
+ *
+ * Based on nautilus-search-engine.h
+ */
+
+#ifndef __GTK_SEARCH_ENGINE_H__
+#define __GTK_SEARCH_ENGINE_H__
+
+#include "gtkquery.h"
+#include "gtkfilesystemmodel.h"
+#include <gio/gio.h>
+
+G_BEGIN_DECLS
+
+#define GTK_TYPE_SEARCH_ENGINE (_gtk_search_engine_get_type ())
+#define GTK_SEARCH_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENGINE, GtkSearchEngine))
+#define GTK_SEARCH_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEARCH_ENGINE, GtkSearchEngineClass))
+#define GTK_IS_SEARCH_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENGINE))
+#define GTK_IS_SEARCH_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEARCH_ENGINE))
+#define GTK_SEARCH_ENGINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEARCH_ENGINE, GtkSearchEngineClass))
+
+typedef struct _GtkSearchEngine GtkSearchEngine;
+typedef struct _GtkSearchEngineClass GtkSearchEngineClass;
+typedef struct _GtkSearchEnginePrivate GtkSearchEnginePrivate;
+typedef struct _GtkSearchHit GtkSearchHit;
+
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (GtkSearchEngine, g_object_unref)
+
+struct _GtkSearchHit
+{
+ GFile *file;
+ GFileInfo *info; /* may be NULL */
+};
+
+struct _GtkSearchEngine
+{
+ GObject parent;
+
+ GtkSearchEnginePrivate *priv;
+};
+
+struct _GtkSearchEngineClass
+{
+ GObjectClass parent_class;
+
+ /* VTable */
+ void (*set_query) (GtkSearchEngine *engine,
+ GtkQuery *query);
+ void (*start) (GtkSearchEngine *engine);
+ void (*stop) (GtkSearchEngine *engine);
+
+ /* Signals */
+ void (*hits_added) (GtkSearchEngine *engine,
+ GList *hits);
+ void (*finished) (GtkSearchEngine *engine);
+ void (*error) (GtkSearchEngine *engine,
+ const char *error_message);
+};
+
+GType _gtk_search_engine_get_type (void);
+
+GtkSearchEngine* _gtk_search_engine_new (void);
+
+void _gtk_search_engine_set_query (GtkSearchEngine *engine,
+ GtkQuery *query);
+void _gtk_search_engine_start (GtkSearchEngine *engine);
+void _gtk_search_engine_stop (GtkSearchEngine *engine);
+
+void _gtk_search_engine_hits_added (GtkSearchEngine *engine,
+ GList *hits);
+void _gtk_search_engine_finished (GtkSearchEngine *engine,
+ gboolean got_results);
+void _gtk_search_engine_error (GtkSearchEngine *engine,
+ const char *error_message);
+
+void _gtk_search_hit_free (GtkSearchHit *hit);
+GtkSearchHit *_gtk_search_hit_dup (GtkSearchHit *hit);
+
+void _gtk_search_engine_set_model (GtkSearchEngine *engine,
+ GtkFileSystemModel *model);
+
+G_END_DECLS
+
+#endif /* __GTK_SEARCH_ENGINE_H__ */
#include <Cocoa/Cocoa.h>
#include <macos/gdkmacos.h>
-#include "gtksearchenginequartz.h"
+#include "gtksearchenginequartzprivate.h"
/* This file is a mixture of an objective-C object and a GObject,
* so be careful to not confuse yourself.
+++ /dev/null
-/*
- * Copyright (C) 2007 Kristian Rietveld <kris@gtk.org>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef __GTK_SEARCH_ENGINE_QUARTZ_H__
-#define __GTK_SEARCH_ENGINE_QUARTZ_H__
-
-#include "gtksearchengine.h"
-
-G_BEGIN_DECLS
-
-#define GTK_TYPE_SEARCH_ENGINE_QUARTZ (_gtk_search_engine_quartz_get_type ())
-#define GTK_SEARCH_ENGINE_QUARTZ(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENGINE_QUARTZ, GtkSearchEngineQuartz))
-#define GTK_SEARCH_ENGINE_QUARTZ_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEARCH_ENGINE_QUARTZ, GtkSearchEngineQuartzClass))
-#define GTK_IS_SEARCH_ENGINE_QUARTZ(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENGINE_QUARTZ))
-#define GTK_IS_SEARCH_ENGINE_QUARTZ_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEARCH_ENGINE_QUARTZ))
-#define GTK_SEARCH_ENGINE_QUARTZ_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEARCH_ENGINE_QUARTZ, GtkSearchEngineQuartzClass))
-
-typedef struct _GtkSearchEngineQuartz GtkSearchEngineQuartz;
-typedef struct _GtkSearchEngineQuartzClass GtkSearchEngineQuartzClass;
-typedef struct _GtkSearchEngineQuartzPrivate GtkSearchEngineQuartzPrivate;
-
-struct _GtkSearchEngineQuartz
-{
- GtkSearchEngine parent;
-
- GtkSearchEngineQuartzPrivate *priv;
-};
-
-struct _GtkSearchEngineQuartzClass
-{
- GtkSearchEngineClass parent_class;
-};
-
-GType _gtk_search_engine_quartz_get_type (void);
-GtkSearchEngine *_gtk_search_engine_quartz_new (void);
-
-G_END_DECLS
-
-#endif /* __GTK_SEARCH_ENGINE_QUARTZ_H__ */
--- /dev/null
+/*
+ * Copyright (C) 2007 Kristian Rietveld <kris@gtk.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __GTK_SEARCH_ENGINE_QUARTZ_H__
+#define __GTK_SEARCH_ENGINE_QUARTZ_H__
+
+#include "gtksearchengineprivate.h"
+
+G_BEGIN_DECLS
+
+#define GTK_TYPE_SEARCH_ENGINE_QUARTZ (_gtk_search_engine_quartz_get_type ())
+#define GTK_SEARCH_ENGINE_QUARTZ(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENGINE_QUARTZ, GtkSearchEngineQuartz))
+#define GTK_SEARCH_ENGINE_QUARTZ_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEARCH_ENGINE_QUARTZ, GtkSearchEngineQuartzClass))
+#define GTK_IS_SEARCH_ENGINE_QUARTZ(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENGINE_QUARTZ))
+#define GTK_IS_SEARCH_ENGINE_QUARTZ_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEARCH_ENGINE_QUARTZ))
+#define GTK_SEARCH_ENGINE_QUARTZ_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEARCH_ENGINE_QUARTZ, GtkSearchEngineQuartzClass))
+
+typedef struct _GtkSearchEngineQuartz GtkSearchEngineQuartz;
+typedef struct _GtkSearchEngineQuartzClass GtkSearchEngineQuartzClass;
+typedef struct _GtkSearchEngineQuartzPrivate GtkSearchEngineQuartzPrivate;
+
+struct _GtkSearchEngineQuartz
+{
+ GtkSearchEngine parent;
+
+ GtkSearchEngineQuartzPrivate *priv;
+};
+
+struct _GtkSearchEngineQuartzClass
+{
+ GtkSearchEngineClass parent_class;
+};
+
+GType _gtk_search_engine_quartz_get_type (void);
+GtkSearchEngine *_gtk_search_engine_quartz_new (void);
+
+G_END_DECLS
+
+#endif /* __GTK_SEARCH_ENGINE_QUARTZ_H__ */
#include <gtk/gtk.h>
#include <libtracker-sparql/tracker-sparql.h>
-#include "gtksearchenginetracker3.h"
+#include "gtksearchenginetracker3private.h"
#define MINER_FS_BUS_NAME "org.freedesktop.Tracker3.Miner.Files"
+++ /dev/null
-/*
- * Copyright (C) 2020 Red Hat Inc
- * 2005 Mr Jamie McCracken
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library. If not, see <http://www.gnu.org/licenses/>.
- *
- * Author: Carlos Garnacho <carlosg@gnome.org>
- * Jamie McCracken (jamiemcc@gnome.org)
- *
- * Based on nautilus-search-engine-tracker.h
- */
-
-#ifndef __GTK_SEARCH_ENGINE_TRACKER3_H__
-#define __GTK_SEARCH_ENGINE_TRACKER3_H__
-
-#include "gtksearchengine.h"
-
-G_BEGIN_DECLS
-
-#define GTK_TYPE_SEARCH_ENGINE_TRACKER3 (gtk_search_engine_tracker3_get_type ())
-G_DECLARE_FINAL_TYPE (GtkSearchEngineTracker3,
- gtk_search_engine_tracker3,
- GTK, SEARCH_ENGINE_TRACKER3,
- GtkSearchEngine)
-
-GtkSearchEngine * gtk_search_engine_tracker3_new (void);
-
-G_END_DECLS
-
-#endif /* __GTK_SEARCH_ENGINE_TRACKER3_H__ */
--- /dev/null
+/*
+ * Copyright (C) 2020 Red Hat Inc
+ * 2005 Mr Jamie McCracken
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * Author: Carlos Garnacho <carlosg@gnome.org>
+ * Jamie McCracken (jamiemcc@gnome.org)
+ *
+ * Based on nautilus-search-engine-tracker.h
+ */
+
+#ifndef __GTK_SEARCH_ENGINE_TRACKER3_H__
+#define __GTK_SEARCH_ENGINE_TRACKER3_H__
+
+#include "gtksearchengineprivate.h"
+
+G_BEGIN_DECLS
+
+#define GTK_TYPE_SEARCH_ENGINE_TRACKER3 (gtk_search_engine_tracker3_get_type ())
+G_DECLARE_FINAL_TYPE (GtkSearchEngineTracker3,
+ gtk_search_engine_tracker3,
+ GTK, SEARCH_ENGINE_TRACKER3,
+ GtkSearchEngine)
+
+GtkSearchEngine * gtk_search_engine_tracker3_new (void);
+
+G_END_DECLS
+
+#endif /* __GTK_SEARCH_ENGINE_TRACKER3_H__ */